/* RESET + GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Josefin Sans", sans-serif;
}

/* HEADER + HERO */
header {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)),
    url("aa.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/* NAVBAR */
nav {
  width: 100%;
  height: 15vh;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  width: 50%;
  text-align: center;
  text-shadow: 3px 3px 6px red;
}

nav .menu {
  width: 40%;
  display: flex;
  justify-content: space-around;
}

nav .menu a {
  position: relative;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

nav .menu a:first-child {
  color: #09cca5;
}

nav .menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #09cca5;
  transition: width 0.3s;
}
nav .menu a:hover::after {
  width: 100%;
}

/* HERO SECTION */
main {
  width: 100%;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

section h3 {
  font-size: 35px;
  font-weight: 200;
  letter-spacing: 3px;
  text-shadow: 1px 1px 2px black;
}

section h1 {
  margin: 30px 0 20px 0;
  font-size: 55px;
  font-weight: 700;
  text-shadow: 2px 1px 5px black;
  text-transform: uppercase;
}

section .change_content {
  font-size: 40px;
}

section p {
  font-size: 26px;
  color: #f8faf9;
  word-spacing: 2px;
  margin-bottom: 25px;
  text-shadow: 3px 3px 5px rgb(7, 6, 6);
}

/* HERO BUTTONS */
section a {
  display: inline-block;
  margin: 10px;
  padding: 12px 30px;
  border-radius: 4px;
  outline: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

section .btnone {
  background: #fff;
  color: #000;
}
.btnone:hover {
  background: #00b894;
  color: white;
  transform: scale(1.05);
}

section .btntwo {
  background: #00b894;
  color: white;
}
.btntwo:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* TEXT ANIMATION */
.change_content:after {
  content: "";
  animation: changetext 12s infinite linear, fade 2s infinite alternate;
  color: #1adb94;
}
@keyframes changetext {
  0% { content: "जय महेश"; }
  20% { content: "माहेश्वरी हैं हम,"; }
  40% { content: "भोले की संतान हैं हम"; }
  60% { content: "बेटी हैं तो कल हैं"; }
  80% { content: "बेटी पढ़ाओ, बेटी बचाओ"; }
  100% { content: "जय महेश"; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* NEWS MARQUEE */
.amrque {
  background-color: transparent;
  position: relative;
  padding: 5px 0;
  border-top: 2px transparent;
  border-bottom: 2px transparent;
}
.amrque marquee {
  width: calc(95% - 0px);
  color: #f6f3f2;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.6;     /* ⬅ text thoda neeche lagega */
  padding: 8px 0;       /* ⬅ top-bottom space */
  display: inline-block;
  vertical-align: middle;
}

.amrque .container {
  position: relative;
}
.amrque b {
  position: relative;
  left: 15px;
  font-size: 20px;
  background: #fff8e1;
  z-index: 4;
  color: #e44c32;
  top: -2px;
  border-right: solid 3px #e44c32;
  padding: 0 10px 4px 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }
  nav .menu {
    flex-direction: column;
    width: 100%;
  }
  nav .menu a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  section h1 {
    font-size: 32px;
  }
  section p {
    font-size: 18px;
  }
  section .change_content {
    font-size: 24px;
  }
}
